import request from '@/utils/request'

// API for fetching chart data by role group
export function getRoleGroupOrdersChart(query) {
    return request({
        url: '/dashboard/chart/list', // Corresponds to RoleGroupOrdersChartController.java @RequestMapping("/chart") and @GetMapping("/list")
        method: 'get',
        params: query
    })
}
